Skip to content

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Nov 22, 2024

Issue

addresses #6687

Description

This change ensures clientConfig, a property shared by many credential providers, is used as the initialization config for all inner clients including SSO and SSOOIDC. Currently, it is only passed through for CognitoIdentity and STS clients.

Testing

manual SSO testing

  • add unit tests

@kuhe kuhe requested a review from a team as a code owner November 22, 2024 17:23
@@ -1,23 +1,18 @@
const ssoOidcClientsHash: Record<string, any> = {};
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this caching functionality. Credentials are cached already, there should be no need to cache the client as well. Caching the client conflicts with being able to configure the client, since this cache exposes no method to clear it.

@kuhe kuhe merged commit 0ca3da3 into aws:main Nov 22, 2024
4 checks passed
@kuhe kuhe deleted the fix/sso branch November 22, 2024 18:24
mergify bot pushed a commit to aws/aws-cdk that referenced this pull request Nov 25, 2024
Updating to the latest SDK version to pull in aws/aws-sdk-js-v3#6688

Followup to #32208


### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
mazyu36 pushed a commit to mazyu36/aws-cdk that referenced this pull request Nov 27, 2024
Updating to the latest SDK version to pull in aws/aws-sdk-js-v3#6688

Followup to aws#32208


### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@github-actions
Copy link

github-actions bot commented Dec 7, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants